gogs restore report: The system cannot move the file to a different disk drive. It's caused by 'rename' file to a different disk drive on Windows Server 2019. #7748
Labels
💊 bug
Something isn't working
Gogs version
0.13.0
Git version
Operating system
Windows Server 2019
Database
SQLite 3
Describe the bug
I run gogs.exe at D:\gogs, and create a backup.zip file. It works fine.
But when I try
gogs.exe restore
I get 'The system cannot move the file to a different disk drive'. It seems gogs.exe creates some files to my HOME PATH (on C:), and 'rename' these files to D:\gogs.To reproduce
Run gogs.exe at D:\gogs
Create a backup.zip by 'gogs.exe backup'
Restore backup.zip by 'gogs.exe restore --from="D:\gogs\backup.zip"'
Expected behavior
Data on backup.zip should be restored.
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: